package cn.star.jots.employee.service;

import cn.star.jots.employee.pojo.dto.EmployeeLoginParam;
import cn.star.jots.employee.pojo.dto.EmployeeQuery;
import cn.star.jots.employee.pojo.dto.EmployeeSaveParam;
import cn.star.jots.employee.pojo.dto.EmployeeSavePassword;
import cn.star.jots.employee.pojo.vo.EmployeeVO;

import java.util.List;

public interface EmployeeService {
    EmployeeVO login(EmployeeLoginParam employeeLoginParam);

    EmployeeVO backup(EmployeeLoginParam employeeLoginParam);

    List<EmployeeVO> selectAll(EmployeeQuery employeeQuery);

    void saveInfo(EmployeeSaveParam employeeSaveParam);

    void updateStatus(Long id, String status);

    void updatePassword(Long id);

    void delete(Long id);

    void deleteBatch(List<Long> ids);

    void savePassword(EmployeeSavePassword employeeSavePassword);
}
